<%@ page contentType="text/xml;charset=utf-8"
	import="git.bankview.wl.console.JournalMonitor"
%><% response.addHeader("Cache-Control", "no-cache"); %>
<jsp:useBean id="journals" type="java.util.Map" scope="application" />
<JournalMonitor>
<%
	if (Boolean.TRUE.equals(session.getAttribute("auth.90070.1")))
	{
		String journalName = request.getParameter("journal");
		JournalMonitor journal = (JournalMonitor)journals.get(journalName);
		String line = null;
		for (int i = 0; i < 20 && null != (line = journal.readLine()); ++i)
		{
%><journal><![CDATA[<%=new String(line.getBytes("iso8859_1"), "gb2312")%>]]></journal>
<%
		}
	}
%>
</JournalMonitor>
